<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: G
  Date: 2022/3/6
  Time: 15:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js"></script>
</head>
<body>

    <div style=" width:300px; height: 100%;float: left">
        <ul style="width: 100%;height: 100%" class="layui-nav layui-nav-tree" lay-filter="test">
            <!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
            <li><div style="padding-top: 20px; margin-left: 30px; font-size: 35px; color: white">电影院管理系统</div></li>
            <c:forEach items="${menus}" var="oneMenu">
                <li style="padding-top: 20px" class="layui-nav-item">
                    <a style="font-size: 25px">${oneMenu.name}</a>
                    <dl class="layui-nav-child">
                        <c:forEach items="${oneMenu.children}" var="twoMenu">
                        <dd><a href="${twoMenu.path}" target="iframe">${twoMenu.name}</a></dd>
                        </c:forEach>
                    </dl>
                </li>
            </c:forEach>
            <li style="padding-top: 20px" class="layui-nav-item"><a style="font-size: 25px" href="">产品</a></li>
            <li style="padding-top: 20px"  class="layui-nav-item"><a style="font-size: 25px" href="film.do">电影</a></li>
        </ul>
    </div>
    <div style="float: left;width: 1070px;">
        <ul class="layui-nav">
        <li class="layui-nav-item">
            <a href="">控制台<span class="layui-badge">9</span></a>
        </li>
        <li class="layui-nav-item">
            <a href="">个人中心<span class="layui-badge-dot"></span></a>
        </li>
        <li class="layui-nav-item">
            <a href=""><img src="//t.cn/RCzsdCq" class="layui-nav-img">我</a>
            <dl class="layui-nav-child">
                <dd><a href="javascript:;">修改信息</a></dd>
                <dd><a href="javascript:;">安全管理</a></dd>
                <dd><a href="javascript:;">退了</a></dd>
            </dl>
        </li>
    </ul></div>
    <div style=" width:800px; height: 100%; float: left;">
    <iframe src="welcome.do" frameborder="no" width="100%" height="100%" name="iframe"></iframe>
    </div>
</body>
</html>
